package com.my.object;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name="evaluation")
public class Evaluation {
	@Id
	@Column(name="id")
	private int id;
	@Column(name="create_datetime")
	private Date create_datetime;
	@Column(name="score")
	private int score;
	@Column(name="enrollment_id")
	private int enrollment_id;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Date getCreate_datetime() {
		return create_datetime;
	}

	public void setCreate_datetime(Date create_datetime) {
		this.create_datetime = create_datetime;
	}

	public int getScore() {
		return score;
	}

	public void setScore(int score) {
		this.score = score;
	}

	public int getEnrollment_id() {
		return enrollment_id;
	}

	public void setEnrollment_id(int enrollment_id) {
		this.enrollment_id = enrollment_id;
	}

	@Override
	public String toString() {
		return "Evaluation [id=" + id + ", create_datetime=" + create_datetime
				+ ", score=" + score + ", enrollment_id=" + enrollment_id + "]";
	}

}
